package com.my.selectcoursesystem.service;

import com.my.selectcoursesystem.bean.Course;

import java.util.List;

public interface CourseService {
    List<Course> getAllCourse();
    Course getCourseById(String cid);
    List<Course> searchByCourseName(String c_name);
    List<Course> searchByCid(String c_id);
    List<Course> searchByCollege(String college);
    List<Course> searchByType(String type);
    Course insert(Course course);
    List<Course> getCourseByTid(String tid);
    Course getCourseByCidAndTid(String cid, String tid);
    Boolean deleteByCidAndTid(String cid, String tid);
}
